<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>会员登录</title>

<link href="${pageContext.request.contextPath}/css/common.css" rel="stylesheet" type="text/css"/>
<link href="${pageContext.request.contextPath}/css/login.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/forget.js"></script>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/tit.ico" type="image/x-icon" />
</head>
<body>

<div class="container header">
	<div class="span5">
		<div class="logo">
			<a href="${pageContext.request.contextPath}/index">
				<img src="${pageContext.request.contextPath}/image/r___________renleipic_01/logo2.gif" alt="seven商城"/>
			</a>
		</div>
	</div>
	<div class="span9">
<div class="headerAd">
		<img src="${pageContext.request.contextPath}/image/header.jpg" width="320" height="50" alt="正品保障" title="正品保障"/>
</div>	</div>
   
	<%@ include file="menu.jsp"%>
</div>	<div class="container login">
		<div class="span12">
<div class="ad">
	 <img src="${pageContext.request.contextPath}/image/login.jpg" width="500" height="330" alt="会员登录" title="会员登录"/>
</div>		</div>
		<div class="span12 last">
			<div class="wrap">
				<div class="main">
					<div class="title">
						<strong>找回密码</strong>FORGET PASSWORD 
					</div>
					
					<%--显示错误信息 --%>
					<font style="color:red;text-align:center;"><b><s:fielderror fieldName="login_fail"/></b></font>
					
					<form id="loginForm" action="${pageContext.request.contextPath}/user_getPasswordByUsername" onsubmit="return check();" method="post" novalidate="novalidate">
						<table>
							<tbody>
							 <tr>
								<th>
										用户名:
								</th>
								<td>
									<input type="text" id="username" onblur="checkusername()"  name="username" class="text" maxlength="20"/>
									<span id="u"></span>
								</td>
							</tr>
								<tr>
									<th>
										验证码:
									</th>
									<td>
										<span class="fieldSet">
											<input type="text" id="validatecode" name="validatecode" class="text captcha" maxlength="4" autocomplete="off"/>
											<img id="validateimage" class="captchaImage" src="${pageContext.request.contextPath}/codeaction" onclick="changecode()" title="点击更换验证码"/>
										</span>
										<span id="c" style="color:red;font-weight:bold;"><s:fielderror fieldName="forgetcodefail"/></span>
									</td>
								</tr>
	
							<tr>
								<th>&nbsp;
									
								</th>
								<td>
									<input type="submit" class="submit" value="下一步"/>
								</td>
							</tr>
						</tbody></table>
					</form>
				</div>
			</div>
		</div>
	</div>
	<%--尾部 --%>
	<%@ include file="bottom.jsp" %>
</body></html>